package com.genersoft.iot.vmp.gb28181.event.alarm;

import com.genersoft.iot.vmp.gb28181.bean.DeviceAlarm;
import org.springframework.context.ApplicationEvent;

/**
 * @description: 报警事件
 * @author: lawrencehj
 * @data: 2021-01-20
 */

public class AlarmEvent extends ApplicationEvent {


    /**
     * 人工视频报警
     */
    public static final String Manual_video_alarm = "1";

    /**
     * 运动目标检测报警
     */
    public static final String Moving_target_detection_alarm = "2";

    /**
     * 遗留物检测报警
     */
    public static final String Residue_detection_alarm = "3";

    /**
     * 物体移除检测报警
     */
    public static final String Object_removal_detection_alarm = "4";

    /**
     * 绊线检测报警
     */
    public static final String Trip_wire_detection_alarm = "5";

    /**
     * 入侵检测报警
     */
    public static final String Intrusion_detection_alarm = "6";

    /**
     * 逆行检测报警
     */
    public static final String Retrograde_detection_alarm = "7";

    /**
     * 徘徊检测报警
     */
    public static final String Wandering_detection_alarm = "8";

    /**
     * 流量统计报警
     */
    public static final String Traffic_statistics_alarm = "9";

    /**
     * 密度检测报警
     */
    public static final String Density_detection_alarm = "10";

    /**
     * 视频异常检测报警
     */
    public static final String Video_abnormal_detection_alarm = "11";

    /**
     * 快速移动报警
     */
    public static final String Fast_moving_alarm = "12";


    /**
     * 入侵检测报警 - 进入区域
     */
    public static final String Intrusion_detection_alarm_entry = "1";

    /**
     * 入侵检测报警 - 离开区域
     */
    public static final String Intrusion_detection_alarm_leave = "2";


    private static final long serialVersionUID = 1L;

    public AlarmEvent(Object source) {
        super(source);
    }

    private DeviceAlarm deviceAlarm;

    public DeviceAlarm getAlarmInfo() {
        return deviceAlarm;
    }
    
    public void setAlarmInfo(DeviceAlarm deviceAlarm) {
        this.deviceAlarm = deviceAlarm;
    }
}
